package com.tao.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tao.common.utils.PageUtils;
import com.tao.gulimall.product.entity.BrandEntity;
import com.tao.gulimall.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author htt
 * @email 2967074103@qq.com
 * @date 2024-02-22 15:32:12
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

	void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

	void updateBrand(Long brandId, String name);

	void updateCategory(Long catId, String name);

	List<BrandEntity> selectBrandByCatId(Long catId);
}

